﻿using System;

namespace ProjectEuler
{
    public static class Tuple
    {
        public static Tuple<T1, T2> Create<T1, T2>(T1 a, T2 b)
        {
            return new Tuple<T1, T2>(a, b);
        }

        public static Tuple<T1, T2, T3> Create<T1, T2, T3>(T1 a, T2 b, T3 c)
        {
            return new Tuple<T1, T2, T3>(a, b, c);
        }

        public static Tuple<T1, T2, T3, T4> Create<T1, T2, T3, T4>(T1 a, T2 b, T3 c, T4 d)
        {
            return new Tuple<T1, T2, T3, T4>(a, b, c, d);
        }
    }
}
